package com.zb.frame.modules.monitor.enums;

/**
 * <p>
 *  日志类型
 * </p>
 *
 * @author bangZZ
 * @since 2020-06-09
 */
public enum LogType {

    LOGIN(0,"登录"),
    ADD(1,"新增"),
    UPDATE(2,"修改"),
    DEL(3,"删除"),
    AUTH(4,"授权"),
    UNAUTH(5,"取消授权"),
    DOWN(6,"停用"),
    UP(7,"启用"),
    LOCK(8,"用户上锁"),
    UNLOCK(9,"用户解锁")
    ;

    private final Integer type;
    private final String desc;

    LogType(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }
}
